<div>
{{each data as item}}
  <div class="block " id="{{item.id}}"}>
      <p class="title" ><span>{{item.name}}</span></p>
      <div class="names bb " >
        {{each item.list as litem}}
          <p class="name df " ><span class="a b">{{litem.name}}</span><span class="a">{{litem.metering}}</span><span class="c {{litem.type==2 ? 'd' : ''}}">{{litem.type==2 ? '自费' : '免费'}}</span></p>
        {{/each}}                        
      </div>
  </div>
{{/each}}
</div>